from flask import Blueprint
from .models import *

blue = Blueprint('user',__name__)
# 路由
@blue.route('/hello_world/')
def hello_world():  #视图函数
    # 响应
    return 'Hello World!'

@blue.route('/index/')
def index():
    return "index 首页"